package uk.ac.aber.Blockmation;

import java.io.IOException;

/**
 * @author Alex
 *
 */
public class MainAppDriver {

        /**
         * @param args
         * @throws IOException 
         */
        public static void main(String[] args) throws IOException {
            
            
            SplashScreen splashScreen = new SplashScreen();
            
            
            // Set up MainFrame for Application
            MainFrame mainFrame = new MainFrame();
            
            // better to use different solution
            //this one's CPU consuming A LOT!
            while (splashScreen.isRunning()) {
                // do nothing
            }
            splashScreen.hide();
            mainFrame.setVisible(true);
            
            


        }

}
